@import "bourbon/bourbon";

html,body{
	position:absolute;
	margin:0;
	padding:0;
	background-color:white;
	font-family:Arial,Helvetica,'Ubuntu','Droid Sans','Open Sans',sans-serif;
	font-size:14px;
	width:100%;
	height:100%;
}

#header{
	z-index:3;
	position:relative;
	margin-left:auto;
	margin-right:auto;
	margin-top:20px;
	margin-bottom:20px;
	height:100px;
	width:85%;
	.homepage-link{
		position:absolute;
		background-repeat:no-repeat;
		background-position:left center;
		background-size:contain;
		background-image:url('/images/logo.png');
		top:0px;
		left:0px;
		display:block;
		width:100px;
		height:100px;
	}
	.parent{
		position:absolute;
		left:105px;
		right:5px;
		height:100%;
		.title{
			position:absolute;
			top:0px;
			left:0px;
			width:100%;
			text-align:center;
			.branding{
				font-size:36px;
				font-weight:bold;
			}
			.subtitle{
				font-size:24px;
			}
		}
		.search-field{
			position:absolute;
			bottom:0px;
			width:75%;
			text-align:center;
			left:50%;
			margin-left:-37.5%;
			input{
				width:50%;
				text-align:center;
			}
		}
	}
}

#flash{
	background-color:yellow;
	width:100%;
	min-height:20px;
	position:relative;
	.message{
		padding-left:20px;
	}
	.close-button{
		position:absolute;
		top:0px;
		right:40px;
		width:18px;
		height:18px;
		border:1px solid black;
		cursor:pointer;
		border-radius:10px;
		text-align:center;
		@include linear-gradient(top, #2d88ee, #1554ce);
	}
	.close-button:hover{
		color:white;
	}
}

#content{
	margin:0 auto;
	width:85%;
	position:relative;
}

#user-panel{
	position:absolute;
	top:0px;
	right:0px;
	background-color:#DDD;
	border-bottom-left-radius:10px;
	padding-right:4px;
	overflow:hidden;
	z-index:4;
}
#user-panel.guest{
	width:50px;
	text-align:center;
	min-height:20px;
	padding-left:5px;
}
#user-panel.loggedin{
	width:150px;
	text-align:right;
	padding-left:7px;
	min-height:40px;
	a{
		display:block;
	}
	.profilepic{
		width:36px;
		height:36px;
		float:left;
		position:relative;
		z-index:98;
		background-size:contain;
		background-repeat:no-repeat;
		background-position:center center;
		.highlight{
			position:absolute;
			top:0px;
			left:0px;
			bottom:0px;
			right:0px;
			border:3px solid rgba(200,200,200,0.75);
			opacity:0;
			display:block;
		}
		.highlight:hover{
			opacity:1;
		}
	}
	.nickname{
		text-align:left;
		height:auto;
		margin-top:5px;
		margin-left:5px;
	}
}

@import "messages";

#copyright{
	margin-top:5px;
	text-align:center;
	font-size:9px;
}